//
//  GameOverLayer.h
//  SpeedTap
//
//  Created by Chi Ho Chiu on 17/8/11.
//  Copyright 2011 Individual. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@protocol GameOverLayerDelegate;

@interface GameOverLayer : CCLayerColor {
    id delegate;
}
@property (nonatomic, retain) id<GameOverLayerDelegate> delegate;

-(void) onMenuItemClicked:(CCMenuItem *)menuItem;

typedef enum
{
    kGAME_OVER_TAG_RETRY = 0,
    kGAME_OVER_TAG_EXIT = 1
} EGameOverTag;

@end


@protocol GameOverLayerDelegate
-(void) onRetryItemClicked;
-(void) onExitItemClicked;
@end